import request from '@/utils/request'

export function listRegion() {
    return request({
        url: '/system/area/list',
        method: 'get'
    })
}

export function createRegion(data) {
    return request({
        url: '/system/area/create',
        method: 'post',
        data
    })
}

export function deleteRole(data) {
    return request({
        url: '/system/area/delete',
        method: 'post',
        data
    })
}

export function updateRegion(data) {
    return request({
        url: '/system/area/update',
        method: 'post',
        data
    })
}

